package com.cartitem.bean;

import java.io.Serializable;
import java.util.Date;

public class CartItem implements Serializable {

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getCart_id() {
		return cart_id;
	}
	
	public void setCart_id(String cart_id) {
		this.cart_id = cart_id;
	}
	
	public String getBook_id() {
		return book_id;
	}
	
	public void setBook_id(String book_id) {
		this.book_id = book_id;
	}
	
	public int getAmount() {
		return amount;
	}
	
	public void setAmount(int amount) {
		this.amount = amount;
	}
	
	public Date getCreate_date() {
		return create_date;
	}
	
	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}
	
	public String toString() {
		StringBuffer buffer = new StringBuffer("");
		buffer.append("id: ").append(id);
		buffer.append(", cart_id: ").append(cart_id);
		buffer.append(", book_id: ").append(book_id);
		buffer.append(", create_date: ").append(create_date);
		
		return buffer.toString();
	}

	private static final long serialVersionUID = -6028653845356309897L;
	private int id;
	private String cart_id;
	private String book_id;
	private int amount;
	private Date create_date;
}
